package com.xyz.rok.tools.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.xyz.rok.tools.mapper.ProposeMapper;
import com.xyz.rok.tools.model.Propose;
import com.xyz.rok.tools.service.ProposeService;

@Service
public class ProposeServiceImpl implements ProposeService {

    @Resource
    private ProposeMapper proposeMapper;

    @Override
    public int deleteByPrimaryKey(Long id) {
        return proposeMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(Propose record) {
        return proposeMapper.insert(record);
    }

    @Override
    public int insertSelective(Propose record) {
        return proposeMapper.insertSelective(record);
    }

    @Override
    public Propose selectByPrimaryKey(Long id) {
        return proposeMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(Propose record) {
        return proposeMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(Propose record) {
        return proposeMapper.updateByPrimaryKey(record);
    }

}

